package com.ruixue.artistserver.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ORDERSERVICE",fallback = ServiceHiHystric.class)
public interface ServiceFeginInterfaces {
    //value 调用的具体方法
    @RequestMapping(value = "/order/create",method = RequestMethod.GET)
    String testdemo(@RequestParam(value = "name") String name);

}
